net/http.response.status (field)
7 uses
net/http (current package)
server.go#L450: status int // status code passed to WriteHeader
server.go#L1147: w.status = code
server.go#L1290: if w.handlerDone.isSet() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && header.get("Content-Length") == "" && (!isHEAD || len(p) > 0) {
server.go#L1307: if w.wants10KeepAlive && (isHEAD || hasCL || !bodyAllowedForStatus(w.status)) {
server.go#L1398: code := w.status
server.go#L1476: !isProtocolSwitchResponse(w.status, header)
server.go#L1535: return bodyAllowedForStatus(w.status)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)